/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-24 16:12:15
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-24 16:41:55
 * @别瞎看: 你个无脑牛马
 */
public class Test1_5{
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle("Red", 2.0, 3.0);
        Circle circle = new Circle("Blue", 5);
        System.out.println(rectangle.getColor());
        System.out.println("矩形的面积是: " + rectangle.area());
        System.out.println();
        System.out.println(circle.getColor());
        System.out.println("圆的面积是: " + circle.area());
    }
}